<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link type="text/css" rel="stylesheet" href="css/login.css"/>
    <script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="js/login.js"></script>
    <title>简历</title>
    <script type="text/javascript">
        $(document).ready(function () {
            $("[name='jianli']").click(function () {
                var name=$("[name='name']").val();
                var sex="男";
                var  birthplace=$("[name='birthplace']").val();
                var number=$("[name='number']").val();
                var school=$("[name='school']").val();
                var education=$("#education").val();/*falset*/
                var specialty=$("[name='specialty']").val();
                var learnspecialty=$("[name='learnspecialty']").val();
                var city=$("#city").val();
                var salary=$("#salary").val();/*ft*/
                var type=$("#type").val();/*f*/
                var status=$("#status").val();/*f*/
                var email=$("[name='email']").val();
                $("#sex1").click(function () {
                    sex = "男";
                });
                $("#sex2").click(function () {
                    sex="女";

                })
                $.get("resume/register",
                    {
                        "name":name,
                        "sex":sex,
                        "birthplace":birthplace,
                        "number":number,
                        "school":school,
                        "education":education,
                        "specialty":specialty,
                        "learnspecialty":learnspecialty,
                        "city":city,
                        "salary":salary,
                        "type":type,
                        "status":status,
                        "email":email

                    }
                    ,function (rs) {
                        var mess=rs.result;
                        alert(mess);
                    });
            });
        });
    </script>
</head>

<body>
<div class="header">
    <div class="mainwarp">
        <div class="logo"><a href="index.html"><img src="images/log.png"/></a></div>
        <div class="welcome">欢迎注册</div>
        <div class="headerright">
            <a href="login.html">个人登录</a>
            <span>|</span>
            <a href="index.html">返回首页</a>
        </div>
    </div>
</div>
<div class="jianliBox">
    <div class="jlpart1">
        <img src="images/img1.png"/>
    </div>
    <div class="jlpart2">
        <div class="jlpart2_1">
            <div class="jlbox1">
                <h1>一分钟填写简历</h1>
                <p>填写以下信息即可生成一份简历，一步注册，起航你的成功之梦！</p>
            </div>
            <div class="jlbox2">
                <span class="tit">姓名</span>
                <input name="name" type="text" class="txtcon txt1"/>
            </div>
            <div class="jlbox2">
                <span class="tit">我是</span>
                <div id="sex1" class="sex on">男</div>
                <div id="sex2"   class="sex">女</div>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">出生于</span>
                <input name="birthplace" type="text" class="txtcon txt3"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">手机号</span>
                <input name="number" type="text" class="txtcon txt3"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">毕业学校</span>
                <input name="school" type="text" class="txtcon txt3"/>
                <select class="txtcon txt5" id="education">
                    <option value="">初中及一下</option>
                    <option value="">中专/中技</option>
                    <option value="">高中</option>
                    <option value="">大专</option>
                    <option value="">硕士</option>
                    <option value="">本科</option>
                    <option value="0">博士</option>
                </select>
                <div class="titxt">学历</div>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">专业名称</span>
                <input name="specialty" type="text" class="txtcon txt3"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">所学专业</span>
                <input name="learnspecialty" type="text" class="txtcon txt3"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">想在</span>
                <select class="txtcon txt5" id="city">
                    <option value="北京">北京</option>
                    <option value="上海">上海</option>
                    <option value="深圳">深圳</option>
                    <option value="广州">广州</option>
                    <option value="长春">长春</option>
                </select>
                <div class="titxt">找月薪</div>
                <select class="txtcon txt6" id="salary">
                    <option value="30000以上">30000以上</option>
                    <option value="20000-30000">20000-30000</option>
                    <option value="10000-20000">10000-20000</option>
                    <option value="5000-10000">5000-10000</option>
                    <option value="5000以下">5000以下</option>
                </select>
                <div class="titxt">的</div>
                <select class="txtcon txt5" id="type">
                    <option value="全职">全职</option>
                    <option value="兼职">兼职</option>
                    <option value="实习">实习</option>
                </select>
                <div class="titxt">工作</div>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">求职状态</span>
                <select class="txtcon txt2" id="status">
                    <option value="离职-随时到岗">离职-随时到岗</option>
                    <option value="在职-月内到岗">在职-月内到岗</option>
                    <option value="在职-考虑机会">在职-考虑机会</option>
                    <option value="在职-暂不考虑">在职-暂不考虑</option>
                </select>
            </div>
            <div class="jlbox2">
                <span class="tit">邮箱</span>
                <input name="email" type="text" class="txtcon txt3"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <input name="jianli" type="button" value="生成简历" class="jlbtn"/>
            </div>
        </div>
    </div>
</div>

<div class="clear"></div>
<div class="footer">
</div>
</body>
</html>
